<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Home</title>
    <link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="css/bootstrap-theme.min.css" rel="stylesheet"
          type="text/css">
    <link href="css/templatemo_style.css" rel="stylesheet" type="text/css">
    <link href="css/p_list.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="templatemo-header">
    <div class="container">
        <div class="col-md-6">
            <h1 class="logo pull-left">DeepBook</h1>
        </div>
        <div class="col-md-6" style="top: 10px; left: 400px">
            <s:if test="#session.u!=null">
					<span style="float: left"><s:property value="#session.u"/>
					</span>
                <span style="float: left; margin-left: 10px"> <a
                        href="User_outlogin_Action.action"
                        style="color: yellow; cursor: pointer;">注销</a>
					</span>
                <span style="float: left; margin-left: 10px"> <a
                        href="BookListAdd.jsp" style="color: yellow; cursor: pointer;">添加图书</a>
					</span>
            </s:if>
            <s:else>
					<span style="float: left;"> <a href="login.jsp"
                                                   style="color: yellow; cursor: pointer;">登陆</a>
					</span>
            </s:else>

        </div>

    </div>
    <!-- container -->
</div>